<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f ="http://java.sun.com/jsf/core">

    <h:head>
        <title>Datatable</title>
    </h:head>
    <h:body>
        <b>List of User : </b>
        <h:dataTable var="user" value="#{dataTableManagedBean.userViews}" border="1" cellpadding="5" cellspacing="0">
            <h:column>
                <f:facet name="header">Name</f:facet>
                #{user.name}
            </h:column>
            <h:column>
                <f:facet name="header">Username</f:facet>
                #{user.username}
            </h:column>
            <h:column>
                <f:facet name="header">Group</f:facet>
                #{user.group}
            </h:column>
        </h:dataTable>
    </h:body>

</html>

